<%inherit file="init_base.html"/>
<h2>${_('Peerscape Setup')}</h2>
<div id="tabNav">
    <ul>
        <li><a href="http://admin.hexlabel.net/setup_persona/">${_('New user')}</a></li>
        <li class="selected"><a href="http://admin.hexlabel.net/import_persona/">${_('Existing user')}</a></li>
    </ul>
    <div class="clr"><br/></div>
</div>
<div class="section" id="info">
    <h3>${_('Existing user')}</h3>
    % if errors:
        <div class="alert">${message}</div>
    % elif message:
        <div class="message">${message}</div>
    % endif

    <div class="intro">
        <p>
            ${_('Enter your personal Recovery Code (looks like xxxxx-xxxxx-xxxxx-xxxxx).')}<br/>
            ${_('<strong>Note</strong>: If you do not have your recovery code handy, please consider carefully before entering a second time as a new user.') |n}
	    ${_('You will not be able to use your existing content, friendships, and memberships.')}
        </p>
    </div>
    <form id="importpersonaForm" method="post" action="/import_persona/">
        <dl>
            <dt><label for="code">${_('Recovery  Code')}</label></dt>
            <dd>
                <input type="text" class="text" name="code" id="code" value="${code}"/>
            </dd>
            <dt><label for="password">${_('Passphrase (optional)')}</label></dt>
            <dd>
                <input type="password" class="text" name="passphrase" id="passphrase"/>
            </dd>
        </dl>
        <dl>
            <dd class="buttons">
                <input type="submit" class="submit default" value="${_('Submit')}"/>
            </dd>
        </dl>
        <div class="clr"><br/></div>
    </form>
</div>

<!-- defs -->
<%def name="title()">P2P Fusion - Peerscape | ${_('Existing user')}</%def>
<%def name="body_class()">
    admin
</%def>
<%def name="toplinks_style()">
</%def>

